loadArchive

abstract suspend fun loadArchive(archiveUri: Uri, overrideEditorConfig: Boolean = false, waitForResources: Boolean = false): DesignBlock

Load the contents of a scene previously saved as an archive.

Return

the handle to the loaded scene.

Parameters

archiveUri

the resource of the scene archive file.

overrideEditorConfig

Whether to override editor configuration with settings and data from the scene file. Defaults to false.

waitForResources

Whether to wait for all resources to finish loading before returning. Defaults to false.